package sef.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="employee")
public class Employee {

	public Employee() {
		
	}
	public Employee(long iD, String firstName, String lastName,
			String middleInitial, String level, String workForce,
			String enterpriseID) {
		super();
		ID = iD;
		this.firstName = firstName;
		this.lastName = lastName;
		this.middleInitial = middleInitial;
		this.level = level;
		this.workForce = workForce;
		this.enterpriseID = enterpriseID;
	}

	@Id
	@Column(name="ID")
	@GeneratedValue(strategy=GenerationType.SEQUENCE)
	private long ID;
	@Column(name="firstname", nullable=false)
	private String firstName;
	@Column(name="lastname", nullable=false)
	private String lastName;
	@Column(name="middleinitial", nullable=false)
	private String middleInitial;
	@Column(name="level", nullable=false)
	private String level;
	@Column(name="workforce", nullable=false)
	private String workForce;
	@Column(name="enterpriseid", nullable=false)
	private String enterpriseID;

	public long getID() {
		return ID;
	}

	public void setID(long id) {
		ID = id;
	}

	public String getEnterpriseID() {
		return enterpriseID;
	}

	public void setEnterpriseID(String enterpriseID) {
		this.enterpriseID = enterpriseID;
	}

	public String getFirstName() {
		return firstName;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public String getMiddleInitial() {
		return middleInitial;
	}

	public void setMiddleInitial(String middleInitial) {
		this.middleInitial = middleInitial;
	}

	public String getLastName() {
		return lastName;
	}

	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	public String getLevel() {
		return level;
	}

	public void setLevel(String level) {
		this.level = level;
	}

	public String getWorkForce() {
		return workForce;
	}

	public void setWorkForce(String workForce) {
		this.workForce = workForce;
	}

}
